package model
{
	import view.LyricList;
	import view.LyricPanel;
	import view.PlayerPanel;
	import view.SettingPanel;

	public class ModelLocator
	{
		public var main:MusicPlayer;
		public var lyricPanel:LyricPanel;
		public var lyricList:LyricList;
		public var playerPanel:PlayerPanel;
		public var settingPanel:SettingPanel;
		
		private static var instance:ModelLocator;
		
		public function ModelLocator()
		{
		}
		
		public static function getInstance():ModelLocator
		{
			if(!instance)
				instance = new ModelLocator();
			return instance;
		}
	}
}